<?php $ls=Store_Language::all();  if(count($ls)>1):?>
<div class="languages" >
<ul >
<?php foreach($ls as  $lang): ?>
	<li class="" ><a href="<?=url(array('language'=>$lang->language)+$_GET)?>" title="<?=$lang->title?>"><img src="<?=$_BASE_DIR?>img/flags/<?=$lang->l->flag?>" alt="English" border="0" height="20" width="30"/> </a> </li >
<?php endforeach;?>	
</ul>
<div style="float:right"><?php $this->_element('currency')?></div>

</div>
<?php endif;?>